package org.zjx.core.state.domain;

import org.zjx.core.state.StateComponent;

/**
 * Boss状态
 */
public class BossState implements StateComponent {
    private int hp = 100;
    private int phase = 1;


    @Override
    public void reset() {
        hp = 100;
        phase = 1;
    }

    @Override
    public StateComponent copy() {
        BossState copy = new BossState();
        copy.hp = this.hp;
        copy.phase = this.phase;
        return copy;
    }

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public int getPhase() {
        return phase;
    }

    public void setPhase(int phase) {
        this.phase = phase;
    }
}